package com.kch.system.mapper;

import com.kch.system.domain.AuditRecord;
import com.kch.system.vo.AuditRecordVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuditRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AuditRecord record);

    int insertSelective(AuditRecord record);

    AuditRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AuditRecord record);

    int updateByPrimaryKey(AuditRecord record);

    List<AuditRecordVO> selectByBusId(@Param("busId") Integer busId, @Param("type")String type);

    List<Integer> selectByTypeAndIds(@Param("busType")String busType, @Param("ids")List<Integer> ids);
}